package com.abso.mp3tunes.locker.ui;

import com.abso.mp3tunes.locker.ui.views.LockerBrowserView;
import com.abso.mp3tunes.locker.ui.views.MusicPlayerView;

/**
 * A set of UI-aware Locker constants.
 * 
 */
public interface ILockerConstants {

	/** The identifier of the Locker Browser view. */
	public static final String ID_LOCKER_BROWSER_VIEW = LockerBrowserView.class
			.getName();

	/** The identifier of the Music Player view. */
	public static final String ID_MUSIC_PLAYER_VIEW = MusicPlayerView.class
			.getName();

	/**
	 * The key used to save search-specific information into Locker data
	 * objects.
	 */
	public static final String SEARCH_KEY = "SEARCH";

	/** The identifier of the Locker property contributor. */
	public static final String ID_PROPERTY_CONTRIBUTOR = LockerPlugin.PLUGIN_ID
			+ ".Properties";

	/** The username preference key. */
	public static final String PREF_USERNAME = "lockerUsername";

	/** The password preference key. */
	public static final String PREF_PASSWORD = "lockerPassword";

	/** The maximum search results preference key. */
	public static final String PREF_MAX_SEARCH_RESULTS = "lockerMaxSearchResults";

	/** The request chunk size preference key. */
	public static final String PREF_CHUNK_SIZE = "lockerChunkSize";

	/** The timeout preference key. */
	public static final String PREF_TIMEOUT = "lockerTimeout";

	/**
	 * The browser identifier used to share a browser instead of open a new one
	 * each time a action needs to open a URL.
	 */
	public static final String BROWSER_ID = LockerPlugin.PLUGIN_ID + ".Browser";

}
